package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 随机记录对象 sj_random_record
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public class SjRandomRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 发布时间 */
    @Excel(name = "发布时间")
    private String a101;

    /** 是否参与过抽取 */
    @Excel(name = "是否参与过抽取")
    private String isRandom;

    /** 行业分类 */
    @Excel(name = "行业分类")
    private String categoryName;

    /** 随机数量 */
    @Excel(name = "随机数量")
    private Long randomNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setA101(String a101) 
    {
        this.a101 = a101;
    }

    public String getA101() 
    {
        return a101;
    }
    public void setIsRandom(String isRandom) 
    {
        this.isRandom = isRandom;
    }

    public String getIsRandom() 
    {
        return isRandom;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setRandomNum(Long randomNum) 
    {
        this.randomNum = randomNum;
    }

    public Long getRandomNum() 
    {
        return randomNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDate", getCreateDate())
            .append("a101", getA101())
            .append("isRandom", getIsRandom())
            .append("categoryName", getCategoryName())
            .append("randomNum", getRandomNum())
            .toString();
    }
}
